*{
    margin: 0;
    padding: 0;
}
body{
    background: url(../images/bg.png);
    width: 100%;
    height: 705px;
    background-repeat: no-repeat;
    background-size:100%;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 705px;
}
.container .flex-1{
    text-align: center;
}
.flex-1 {
    width: 469px;
    height: 428px;
    background-color: #ffffff;
}

.flex-1 h1{
    font-size: 60px;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 20px;
}

.input-1{
    background-image: url(../images/yonghuming.png);
    background-repeat: no-repeat;
    background-position:5%;

    padding-left: 50px;
    font-size: 18px;
    width: 326px;
    height: 47px;
    color: #d1cfd5;

    border: 1px solid #ededed;

    margin-bottom: 10px;
}
.flex-1 a{
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 170px;
    padding-right: 170px;
    display: inline-block;
    background-color: #7554bf;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #5f39b5;
}

.input-1:focus{
    border: 1px solid red;
}

.input-2{
    background-image: url(../images/mima.png);
    background-repeat: no-repeat;
    background-position:5%;

    font-size: 18px;
    padding-left: 50px;
    width: 326px;
    height: 47px;

    border: 1px solid #ededed;

    margin-bottom: 46px;
}
.input-2:focus{
    border: 1px solid red;
}


.flex-2{
    width: 328px;
    height: 428px;
    background-image: url(../images/bg-login.png);
    background-size:100%;
}

.p-1{
    color: #ffffff;
    margin-top: 107px;
    padding-left: 54px;
    text-align: center;
}
.p-2{
    padding-top: 61px;
    margin-left: 68px;
    color: #ffffff;
    float: left;
}
img{
    float: left;
    margin-top: 6px;
    margin-left: 6px;
}
@media (max-width: 540px) {
    .container{
        width: 100%;
        flex-wrap: wrap;
    }
    .flex-1{
        width: 469px;
        height: 300px;
    }
    .flex-1 a{
        padding:0;
        width: 200px;
        line-height: 50px;
    }
    .flex-2{
        height: 200px;
    }
    .p-1{
        text-align: center;
    }
    .input-1{
        width: 300px;
    }
    .input-2{
        width: 300px;
    }
    .p-1{
        margin-top: 50px;
    }
    .p-2{
        margin-left: 65px;
    }
    .flex-2 img{
        margin-top: 5px;
        margin-left: 5px;
    }
}